<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:a4j="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich"
    xmlns:t="http://myfaces.apache.org/tomahawk">

<body>

<ui:composition >
	<div class="form">
		<h:panelGroup layout="block">
			<t:subform id="tab_reglement">
				<h:messages id="messages" warnClass="msgWarn" errorClass="msgError" infoClass="msgInfo"
						globalOnly="true" />
				<h:panelGrid columns="2" columnClasses="tabline1, tabline2" styleClass="spanelTable">
					<h:panelGroup>
							<h:outputLabel value="Années scolaire" for="anneeTxt" id="anneeLabel"  />
					</h:panelGroup>
					<h:panelGroup>
						<h:selectOneMenu id="anneescolaire" value="#{GestionInscriptionControleur.modele.idAnneeScolaire}" 
							 valueChangeListener="#{GestionInscriptionControleur.anneeChangedValue}">
				 			<f:selectItem  itemLabel="Séléctionner---" itemValue="" />
							<f:selectItems  value="#{GestionInscriptionControleur.modele.annesScolairesItems}"/>
							<a4j:ajax event="valueChange" render="@form" execute="@this" />
						</h:selectOneMenu>
					</h:panelGroup>
				</h:panelGrid>
				<div class="borderBleu">
					<div id="formResult">
						<rich:dataTable id="tableReglements" value="#{GestionInscriptionControleur.modele.reglementsAffiches}" 
							var="reglement" rendered="#{fn:length(GestionInscriptionControleur.modele.reglementsAffiches) > 0}"  rows="11">
								<rich:column>
									<f:facet name="header"><h:outputText value="Nature" /></f:facet>
									<h:outputText value="#{reglement.nature}" />
								</rich:column>
								<rich:column>
									<f:facet name="header"><h:outputText value="Montant" /></f:facet>
									<h:outputText value="#{reglement.montant}" />
								</rich:column>
								<rich:column>
									<f:facet name="header"><h:outputText value="Transport" /></f:facet>
									<h:outputText value="#{reglement.transport}" />
								</rich:column>
								<rich:column>
									<f:facet name="header"><h:outputText value="Garderie" /></f:facet>
									<h:outputText value="#{reglement.garderie}" />
								</rich:column>
								<rich:column>
									<f:facet name="header"><h:outputText value="Mode paiement" /></f:facet>
									<h:outputText value="#{reglement.modepaiement}" />
								</rich:column>
								<rich:column>
									<f:facet name="header"><h:outputText value="Chèque" /></f:facet>
									<h:outputText value="#{reglement.numcheque}" />
								</rich:column>
								<rich:column>
									<f:facet name="header"><h:outputText value="La banque" /></f:facet>
									<h:outputText value="#{reglement.banque}" />
								</rich:column>
								<rich:column>
									<f:facet name="header"><h:outputText value="Emetteurdu chèque" /></f:facet>
									<h:outputText value="#{reglement.emetteurcheque}" />
								</rich:column>
								<rich:column>
									<f:facet name="header"><h:outputText value="Date limite de paiement" /></f:facet>
									<h:outputText value="#{reglement.datelimite}" />
								</rich:column>
								<rich:column>
									<f:facet name="header"><h:outputText value="Date paiement" /></f:facet>
									<h:outputText value="#{reglement.datereglement}" />
								</rich:column>
						
							</rich:dataTable>
					</div>
				</div>
			</t:subform>
		</h:panelGroup>
	</div>	
</ui:composition>
</body>
</html>